DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / View<T> Class / Union Method / Union(ObservableCollection<T>) Method
A collection whose distinct elements form the second set for the union.

In This Topic
    Union(ObservableCollection<T>) Method
    In This Topic
    Set union of this view and a collection.
    Syntax
    'Declaration
     
    Public Overloads Function Union( _
       ByVal second As ObservableCollection(Of T) _
    ) As View(Of T)
    public View<T> Union( 
       ObservableCollection<T> second
    )

    Parameters

    second
    A collection whose distinct elements form the second set for the union.

    Return Value

    The view that contains the elements from both this view and the collection, excluding duplicates.
    Remarks
    This method excludes duplicates from the result set. This is different behavior to the Concat(ObservableCollection<T>) method, which returns all the elements in the input sequences including duplicates.
    See Also